import {createBrowserRouter, Navigate} from 'react-router-dom'
import Home from '../pages/home/Index'
import Login from '../pages/login/Index'
import Zc from '../pages/zc/Index'

const router=createBrowserRouter([
    {
        path:'/',
        element:<Navigate to={'/home'}></Navigate>
    },
    {
        path:'/home',
        element:<Home/>
    },
    {
        path:'/login',
        element:<Login/>
    },
    {
        path:'/zc',
        element:<Zc/>
    }
])
export default router